#include "adapter.h"

void TurkeyAdapter::Gobble()
{
    _duck->Quack();
}

void TurkeyAdapter::Fly()
{
    _duck->Fly();
}

void TurkeyAdapter::Quack()
{
    _duck->Quack();
}

void DuckAdapter::Gobble()
{
    _turkey->Gobble();
}

void DuckAdapter::Quack()
{
    _turkey->Gobble();
}

void DuckAdapter::Fly()
{
    _turkey->Fly();
}